package cn.iocoder.yudao.module.api.trade.order.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Schema(description = "用户 APP - 订单发货 DTO")
@Data
public class TradeOrderDeliveryDTO {

    @Schema(description = "订单编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    @NotNull(message = "订单编号不能为空")
    private Long id;

    @Schema(description = "快递公司编号，从快递公司列表接口获得", example = "1")
    @NotNull(message = "快递公司编号不能为空")
    private Long logisticsId;

    @Schema(description = "发货物流单号", example = "JDV012345678910")
    private String logisticsNo;

    @Schema(description = "配送人员编号，外卖派单时提供", example = "1")
    private Long riderStaffId;

}
